Skip to content

Conversation

@pavog
Copy link
Member

@pavog pavog commented Nov 10, 2025

I regenerated the code using openapi-generator v7.17.0.
With the new version of openapi-generator, responses are specified easier (see /lib/API/) by using handleResponseWithDataType(). Additionally, all generated files are output in PHP 8.1 Which means that some parameters now have types. Since php-modrinth-api specifies PHP 8.1 or higher in the composer.json anyway, this should not be a breaking change.

There have also been some changes to Modrinth's openapi.yaml:

  • Add ability to delete user icon #3383
    • New operation id: deleteUserIcon for /user/{id|username}/icon
  • Document usage of OAuth #3342
  • Clarify date timestamps in search docs #4293
  • update openapi docs to include neoforge for forgeUpdates #4545

@pavog pavog requested a review from JulianVennen November 10, 2025 13:26
@pavog pavog merged commit a23bdbe into master Nov 10, 2025
5 checks passed
@JulianVennen JulianVennen deleted the update-generator-7-17-0 branch November 10, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants